package com.csu.mall.product;

import lombok.AllArgsConstructor;
import lombok.Getter;

public class Global {
    @Getter
    @AllArgsConstructor
    public enum StatusCode{
        VALID_EXCEPTION(1, "参数校验异常");
        int code;
        String msg;

    }

    @Getter
    @AllArgsConstructor
    public enum AttrType{
        SALE_ATTR(0, "销售属性"),
        BASE_ATTR(1, "基本属性");
        int code;
        String msg;
    }
}
